import _http from '@/utils/http'

export default {
  quit(params, loading) {
    return _http("post", {
      url: "/ums/w/app/company/quit",
      apiName: "退出登录",
    }, params, loading);
  },

  updatePwd(params, loading) {
    return _http('post', {
      url: "/ums/user/updatePwd/web",
      apiName: '登陆后修改密码-web'
    }, params, loading)
  },

  confirmPassword(params, loading) {
    return _http('post', {
      url: "/ums/user/confirmPassword",
      apiName: '登陆后确认密码-公司用户'
    }, params, loading)
  },

  updatePhone(params, loading) {
    return _http('post', {
      url: "/ums/user/updatePhone/web",
      apiName: '登陆后修改手机号码'
    }, params, loading)
  },

  getMsgCode(params, loading) {
    return _http('post', {
      url: "/ums/sms/getSmsForModifyPhone/web",
      apiName: '登陆后-修改手机号-获取短信验证码'
    }, params, loading)
  },
  getAccount(params, loading) {
    return _http('post', {
      url: "/eas/off/income/withdraw/account/get",
      apiName: '佣金提现账户-获取'
    }, params, loading)
  },
  unbindBank(params, loading) {
    return _http('post', {
      url: "/eas/off/income/unbind/bank",
      apiName: '银行卡账户解绑'
    }, params, loading)
  },
  bindBank(params, loading) {
    return _http('post', {
      url: "/eas/off/income/bind/bank",
      apiName: '银行卡账号绑定'
    }, params, loading)
  },
}



